package zheezes.swt.converter;

import org.eclipse.core.databinding.conversion.IConverter;

public class BooleanConverter implements IConverter {
	public Object convert(Object from) {
		return !((Boolean) from);
	}

	public Object getFromType() {
		return Boolean.class;
	}

	public Object getToType() {
		return Boolean.class;
	}
}
